<%
	var PermissionChecker=Class.create()
		PermissionChecker.prototype=
		{
			initialize:function($options)
			{
				this.path=($options.path||'');
				this.object=Server.CreateObject('MSWC.PermissionChecker');
			},
			hasAccess:function($path)
			{
				return this.object.hasAccess($path||this.path);
			},
			close:function()
			{
				try
				{
					for(var iProperty in this)
						delete this[iProperty];
				}catch(e)
				{}
			}
		};
%>